Creating Portable, Reusable Programs with Tools.h++ (3 day)
General Description
Rogue Wave's Tools.h++ has become a defacto standard for C++
foundation classes. This three day course provides the basic knowledge
of Tools.h++ classes needed to create highly efficient and portable
programs. Attendees should be C++ programmers with a minimum of 6 months
experience.
Course Outline
Introduction
How objects help the creation of portable, reusable code
Characteristics of Rogue Wave classes
Internationalization: an introduction
Basic classes
- Strings
- The basic string class: RWCString
- Sub-strings: RWCSubString
- Regular expressions: RWCRegexp
- Lab 1 - A Text Pattern Class
- Date/Time
- RWDate
- Lab 2 - A Calendar Program
- RWTime
- Lab 3 - A Date/Time Pattern Class
- I/O - virtual streams
- The abstract base class: RWvios
- Abstract I/O classes: Rwvistream and RWvostream
- The common functional interface
- The concrete classes (specialized implementations)
- Portable ASCII streams: Rwpistream and RWpostream
- Binary streams: Rwbistream and RWbostream
- Files
- RWFile
- Lab 4 - RWFile and Virtual Streams
- RWFileManager
Collections
- Basic concepts
- Object Equality vs. Object Identity
- How collections are accessed
- Are Duplicates allowed?
- Is order significant?
- How is the collection implemented?
- Templates
- Persistable (Smalltalk - like)
- Designing an RWCollectable class
- What data structure is used?
- Vectors
- Ordered Vectors
- Sorted Vectors
- Singly Linked Lists
- Doubly Linked Lists
- Hash Table
- Set
- Identity Set
- Lab 5 - Using Collections: Sets
- Bag
- Binary Tree
- BTree
- Hash Dictionary
- Identify Dictionary
- BTree Dictionary
- Lab 6 - Using Collections: Dictionaries
- Stack
- Queue
- Virtual Array
© Copyright 1995-6, Rogue Wave
Software, Inc.